﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo1
{
    class Class1
    {
        protected int a;
        protected int b;

        public void zhi() 
        {
            Console.WriteLine("请输入第一个数");
            string str = Console.ReadLine();
            a = int.Parse(str);
            Console.WriteLine("请输入第二个数");
            string str2 = Console.ReadLine();
            b = int.Parse(str2);
        }

        public virtual void DisplayResult()
        {
            
        }
    }
}
